package enron;

import jade.core.Agent;
import jade.core.behaviours.Behaviour;
import jade.lang.acl.ACLMessage;
import jade.lang.acl.MessageTemplate;
import jade.proto.SSResponderDispatcher;

public class SellEnergyDispatcher extends SSResponderDispatcher {
	private static final long serialVersionUID = -8068137998572777166L;

	public SellEnergyDispatcher(Agent a, MessageTemplate cfp) {
		super(a, cfp);
	}

	@Override
	protected Behaviour createResponder(ACLMessage cfp) {
//		System.out.println("Auction: " + myAgent.getLocalName() + " received invitation by " + cfp.getSender().getLocalName());
		return new SellEnergyBehaviour(myAgent, cfp);
	}

}
